import request from '@/utils/request'

// 获取统计概览数据
export function getStatisticsOverview() {
  return request({
    url: '/statistics/overview',
    method: 'get'
  })
}

// 获取用户增长数据
export function getUserGrowthData() {
  return request({
    url: '/statistics/userGrowth',
    method: 'get'
  })
}

// 获取销售统计数据
export function getSalesData() {
  return request({
    url: '/statistics/sales',
    method: 'get'
  })
}

// 获取数据分布
export function getDataDistribution() {
  return request({
    url: '/statistics/distribution',
    method: 'get'
  })
}

// 获取最近活动
export function getRecentActivities() {
  return request({
    url: '/statistics/activities',
    method: 'get'
  })
} 